projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ffa2b
)
arm: mach-stm32mp: Add newline to the MAC error message
author
Manivannan Sadhasivam
<
[email protected]
>
Thu, 2 May 2019 07:56:45 +0000
(13:26 +0530)
committer
Patrice Chotard
<
[email protected]
>
Thu, 6 Jun 2019 15:40:12 +0000
(17:40 +0200)
Without newline, the error message appears for non prgrammed OTP boards
looks messsy. Hence add it to look more clean.
Signed-off-by: Manivannan Sadhasivam <
[email protected]
>
Reviewed-by: Patrice Chotard <
[email protected]
>
arch/arm/mach-stm32mp/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-stm32mp/cpu.c
b/arch/arm/mach-stm32mp/cpu.c
index 7b4431c9c75cf3035a6fc7d0bb189907f259ecfb..e1a0a136809c0aa9e9ef61f469ff6b60a54108da 100644
(file)
--- a/
arch/arm/mach-stm32mp/cpu.c
+++ b/
arch/arm/mach-stm32mp/cpu.c
@@
-481,7
+481,7
@@
static int setup_mac_address(void)
enetaddr[i] = ((uint8_t *)&otp)[i];
if (!is_valid_ethaddr(enetaddr)) {
- pr_err("invalid MAC address in OTP %pM", enetaddr);
+ pr_err("invalid MAC address in OTP %pM
\n
", enetaddr);
return -EINVAL;
}
pr_debug("OTP MAC address = %pM\n", enetaddr);